Every HTML document must have a Title element. The title should identify the contents of the document and in a global context, and may be used in history lists and as a label for the windows displaying the document. Unlike headings, titles are not typically rendered in the text of a document itself. Normally, browsers will render the text contained within the <TITLE> ... </TITLE>
elements in the title bar of the browser window.
The Title element must occur within the head of the document and may not contain anchors, paragraph elements, or highlighting. Only one title is allowed in a document.
NOTE : The length of a title is not limited, however, long titles may be truncated in some applications. To minimise the possibility, titles should be kept as succinct as possible. Also keep in mind that a short title, such as 'Introduction' may be meaningless out of context. An example of a meaningful title might be 'Introduction to HTML elements'
This is the only element that is required within the HEAD
element. The other elements described are optional and can be implemented when appropriate.
<HEAD>
<TITLE>Welcome to the HTML Reference</TITLE>
</HEAD>
The <TITLE>
element, in accordance with the Internet Explorer Dynamic HTML, supports some of the standard properties and methods.
<TITLE...>
Properties
Of the Standard Dynamic HTML properties, the <TITLE>
element supports document, id, parentElement, sourceIndex and tagName. See the Standard Dynamic HTML properties topic for more details.
<TITLE...>
Methods
Of the Standard Dynamic HTML methods, the <TITLE>
element supports contains, getAttribute, removeAttribute and setAttribute. See the Standard Dynamic HTML methods topic for more details.
© 1995-1998, Stephen Le Hunte
file: /Techref/language/html/ib/Document_Structure_Elements/title.htm, 3KB, , updated: 2004/3/1 16:47, local time: 2024/10/31 16:56,
3.12.147.137:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.sxlist.com/techref/language/html/ib/Document_Structure_Elements/title.htm"> <TITLE></A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to www.sxlist.com! |
.